<!-- 当前模块：联系我们 -->
<template>
  <div class="page_contactUs">
    <navTitle />
    <div class="page_contactUs-container">
      <van-cell title="服务热线" is-link clickable @click="handleRouter('/pages/hotService/main')"></van-cell>
      <div class="bottom12"></div>
      <div class="contact-container">
        <button ref="button" class="btn_contact" open-type="contact" @contact="handleContact">点击</button>
        <van-cell title="管家帮忙" is-link clickable @click="handleClick"></van-cell>
      </div>
      <div class="bottom12"></div>
      <van-cell title="管家评价" is-link clickable @click="handleRouter('/pages/housekeepEstablish/main')"></van-cell>
    </div>
  </div>
</template>

<script>
  import {api} from '../../utils/api';
// import navTitle from '../../component/navTitle'

 export default {
  // components: {navTitle},
  data () {
    return {
      
    }
  },
  onShow() {

  },
  onPullDownRefresh() {
    wx.startPullDownRefresh({
      complete: () => {
        wx.stopPullDownRefresh();
      }
    })
  },
  onShareAppMessage() {
    return {
      title: '智慧养老',
      path: '/pages/auth/main',
      from: "menu" 
    }
  },
  computed: {
    userInfo() {
      return this.$store.getters.userInfo || {};
    },
    communityId() {
      return this.$store.getters.communityId;
    }
  },
  methods: {
    handleRouter(path) {
      wx.navigateTo({
        url: path
      })
    },
    handleClick() {

    }
  }
}
</script>

<style lang="scss">
.page_contactUs {
  height: 100vh;
  background: #f5f5f5;
  overflow: overlay;
  .page_contactUs-container {
    // height: 100%;
    padding: 24rpx;
  }
  .contact-container {
    position: relative;
    button {
      width: 100%;
      height: 100%;
      position: absolute;
      top: 0;
      left: 0;
      z-index: 1;
      opacity: 0;
    }
  }
}
</style>
